package com.example.administrator.szb.bean;
import java.util.List;

/**
 * Created by D N on 2017/11/7.
 */

public class MyZXBean {

    /**
     * result : 1
     * err_code : 0
     * err_msg :
     * data : [{"id":12,"image":"h","title":"测试一波","reading_num":3,"author":"杨小刚","status":2,"create_time":"4天前","type":1,"collect_count":1,"wight_count":1.6},{"id":10,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-02_16:05:34_KRPT3rZr.mp4?vframe/jpg/offset/0","title":"xiaogang","reading_num":4,"author":"杨小刚","status":2,"create_time":"5天前","type":2,"collect_count":0,"wight_count":1.2},{"id":14,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-03_PqPcBkry.png","title":"133","reading_num":3,"author":"杨小刚","status":2,"create_time":"4天前","type":1,"collect_count":0,"wight_count":0.9},{"id":15,"image":"http://ownv0vrav.bkt.clouddn.com/2017-11-03_Oto17sSE.png","title":"股票质押","reading_num":2,"author":"杨小刚","status":2,"create_time":"4天前","type":1,"collect_count":0,"wight_count":0.6},{"id":11,"image":"/","title":"夜雾管理","reading_num":1,"author":"杨小刚","status":2,"create_time":"4天前","type":1,"collect_count":0,"wight_count":0.3},{"id":13,"image":"h","title":"123321","reading_num":1,"author":"杨小刚","status":2,"create_time":"4天前","type":1,"collect_count":0,"wight_count":0.3},{"id":17,"image":"http://ownv0vrav.bkt.clouddn.com/1509786258745.jpg","title":"潘东飞","reading_num":1,"author":"杨小刚","status":2,"create_time":"2天前","type":1,"collect_count":0,"wight_count":0.3},{"id":16,"image":"http://ownv0vrav.bkt.clouddn.com/1509786064381.jpg","title":"我的潘东飞","reading_num":0,"author":"杨小刚","status":1,"create_time":"2天前","type":1,"collect_count":0,"wight_count":0},{"id":18,"image":"","title":"133","reading_num":0,"author":"杨小刚","status":1,"create_time":"1天前","type":1,"collect_count":0,"wight_count":0}]
     */

    private int result;
    private int err_code;
    private String err_msg;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 12
         * image : h
         * title : 测试一波
         * reading_num : 3
         * author : 杨小刚
         * status : 2
         * create_time : 4天前
         * type : 1
         * collect_count : 1
         * wight_count : 1.6
         */

        private int id;
        private String image;
        private String title;
        private int reading_num;
        private String author;
        private int status;
        private String create_time;
        private int type;
        private int collect_count;
        private double wight_count;
        private String headImg;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getReading_num() {
            return reading_num;
        }

        public void setReading_num(int reading_num) {
            this.reading_num = reading_num;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getCollect_count() {
            return collect_count;
        }

        public void setCollect_count(int collect_count) {
            this.collect_count = collect_count;
        }

        public double getWight_count() {
            return wight_count;
        }

        public void setWight_count(double wight_count) {
            this.wight_count = wight_count;
        }

        public String getHeadImg() {
            return headImg;
        }

        public void setHeadImg(String headImg) {
            this.headImg = headImg;
        }
    }
}
